1bashThis demonstrates removing a specified prefix from a variable's value using parameter expansion.${FOO##prefix}bash internaldata manipulationsstring manipulation and expansionsparameter expansionprefix removal
2bashThis demonstrates parameter expansion to strip a prefix from a string.${foo#prefix}bash internaldata manipulationsstring manipulation and expansionsparameter expansionprefix removal